package pl.szpadel.android.gadu;

import pl.szpadel.android.gadu.packets.ReceivedPacket;

/// App component receives connection status updates and packets
public interface IAppComponent {

	/// Called when packet is received
	public void onPacket(ReceivedPacket packet);
	
	/// Called when connection state changes
	public void onConnectionStateChanged(ConnectionState state);
	
	// when user status and/or description changed
	public void onStatusChanged(Status status);
	
	/// when config changed
	public void onConfigChanged();
}
